/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfo.dao;

import java.util.List;

import com.lczyfz.campusinfo.common.persistence.CrudDao;
import com.lczyfz.campusinfo.common.persistence.annotation.MyBatisDao;
import com.lczyfz.campusinfo.modules.campusinfo.entity.CampusinfoSchool;

/**
 * 学校管理DAO接口
 * @author yt
 * @version 2017-10-13
 */
@MyBatisDao
public interface CampusinfoSchoolDao extends CrudDao<CampusinfoSchool> {

    /**
     * 根据学校名称判断数据库中是否存在同名数据
     */
    public CampusinfoSchool getByName(String name);

    public String getById(String id);
    
    public List<String> getSchoolNames();

    public  String getSchoolNamesById(String id);
}